package com.crop.back.common.enums;

import lombok.Getter;

@Getter
public enum RoleEnum {
    SUPPLIER(1,"供应商")
    ,PROCESSOR(2,"加工企业")
    ,ADMIN(3,"管理员");

    private final int code;
    @Getter
    private final String description;

    RoleEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }
}
